package cn.com.yx.ms.persistence;

import cn.com.yx.ms.domain.dbmodel.DevStatus;
import cn.com.yx.ms.domain.dev.DevOnlineCountModel;
import org.apache.ibatis.annotations.Param;

public interface DevStatusMapper {
    int deleteByPrimaryKey(String guid);

    int insert(DevStatus record);

    int insertSelective(DevStatus record);

    DevStatus selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(DevStatus record);

    int updateByPrimaryKey(DevStatus record);

    DevOnlineCountModel findOnlineOfflineCount();

    int updateDevStatusVersion(@Param("devsn")String devsn,@Param("version")String version);
}